package com.deer.wms.instock.service;


import com.deer.wms.instock.model.Allot.TransferBillCriteria;
import com.deer.wms.instock.model.transfer.TransferBill;
import com.deer.wms.project.root.service.SuperService;

import java.util.List;

/**
 * @author : wei
 * @since : 2022-01-08 20:43:19
 **/
public interface TransferBillService extends SuperService<TransferBill> {

    /**
     * 创建并确认转移单
     * @param transferBills 转移单
     * @return List<AcceptRecord>
     */
    List<TransferBill> saveAndConfirmTransferBill(List<TransferBill> transferBills);

    /**
     * 新增转移单
     * @param transferBills 转移单
     * @return List<TransferBill>
     */
    List<TransferBill> createTransferBill(List<TransferBill> transferBills);

    /**
     * 转移单确认
     * @param transferBills 转移单
     * @return List<TransferBill>
     */
    List<TransferBill> confirmTransferBill(List<TransferBill> transferBills);

    /**
     * 查询装箱单据的数据
     * @param transferBillCriteria 单据查询条件实体
     * @return List<AcceptRecord>
     */
    List<TransferBill> selectBillList(TransferBillCriteria transferBillCriteria);

    //入库单实时回传erp
    String billToErpNew(String billNo, String fromBoxCode,Integer deptId);
}
